package com.diankangwo.factory.service.impl;

import com.diankangwo.factory.dao.TdPortPayLogMapper;
import com.diankangwo.factory.entity.TdPortPayLog;
import com.diankangwo.factory.service.TdPortPayLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("tdPortPayLogService")
public class TdPortPayLogServiceImpl implements TdPortPayLogService {


    @Autowired
    private TdPortPayLogMapper tdPortPayLogMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tdPortPayLogMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TdPortPayLog record) {
        return tdPortPayLogMapper.insert(record);
    }

    @Override
    public int insertSelective(TdPortPayLog record) {
        return tdPortPayLogMapper.insertSelective(record);
    }

    @Override
    public TdPortPayLog selectByPrimaryKey(Integer id) {
        return tdPortPayLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TdPortPayLog record) {
        return tdPortPayLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TdPortPayLog record) {
        return tdPortPayLogMapper.updateByPrimaryKey(record);
    }

    @Override
    public TdPortPayLog selectByPortId(int id) {
        return tdPortPayLogMapper.selectByPortId(id);
    }

    @Override
    public List<TdPortPayLog> queryList(Map<String, Object> map) {
        return tdPortPayLogMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return tdPortPayLogMapper.queryTotal(map);
    }
}
